package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User findEmailAndPwd(@Param("email") String email, @Param("password") String password);

    List<User> findAll();

    void save(User user);

    void deleteById(Integer id);
}
